
<style type="text/css">

.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.55rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:3.6rem}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.55rem}
</style>
<div class="fui-page order-create-page fui-page-current" ng-if="pagedata.op == 'main'">
	<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div class="carousel-inner" role="listbox" style="height:6rem">
			<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.info.hdp">
				
				<a href="#">
					<img src="{{tomedia(item.image) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 400px; height: 300px;">
				</a>
			</div>
			</div>
				<style>
						.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
						.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
				</style>
				<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
					<div class="fui-swipe-bullet" ng-repeat="item in pagedata.adv" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
				</div>
		</div>
	<div class="fui-content">
		
		<div class="weui_cells_title" >
			<div class="weui_cell weui_pad0">
				<div class="weui_cell_bd weui_pad0" style="width:100%;">
					<label class="weui_label weui_pad0">
					<span>{{pagedata.info.title}}</span>
					</label>
				</div>
			</div>
		</div>
		<div class="weui_cells">
            <a class="weui_cell weui_pad0" href="javascript:;">
                <div class="weui_cell_bd weui_cell_primary">
                    <span style="float:left;width:100%">{{pagedata.info.address}}</span>
					<span style="float:left;font-size:0.5rem;color:#999">距离您有{{pagedata.juli}}公里，驾车至此约{{pagedata.time}}分钟。</span>
                </div>
            </a>
        </div>
		<div class="weui_cells">
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">类型：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.type}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">楼层：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.louceng}}层</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">面积：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.mianji}}平米</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">均价：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.junjia}}元/平米</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">总价：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.price}}万元</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">详细介绍：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.desc}}</label></div>					
                </div>
        </div>
		</div>
		<div class="weui_cells_title">户型图：</div>
		<div class="weui_cells">
		<div class="weui_cell">
		<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			
						<img src="{{tomedia(pagedata.info.huxing) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 100%;">
				
		</div>
		</div>
		<div class="weui_btn_area">
		 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="access_json('/list/')">返回列表</a>
		</div>	
		</div>
</div>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>